<style type="text/css">
    .left-heard{background: #c9d4dc;}
</style>
<div class="panel panel-default">
    <div class="panel-heading">基础信息</div>
    <div class="panel-body">
        <table class="table table-bordered">
            <tr>
                <td class="left-heard">商家ID</td>
                <td>{$info.id}</td>
                <td class="left-heard">商家名称</td>
                <td>{$info.shop_name}</td>
            </tr>
            <tr>
                <td class="left-heard">开通时间</td>
                <td>{$info.createtime|date="Y-m-d H:i:s",###}</td>
                <td class="left-heard">开通账号</td>
                <td></td>
            </tr>
            <tr>
                <td class="left-heard">最后登录时间</td>
                <td>{$info.logintime|date="Y-m-d H:i:s",###}</td>
                <td class="left-heard">最后登录IP</td>
                <td>{$info.loginip}</td>
            </tr>
        </table>
    </div>
</div>
<div class="panel panel-default">
    <div class="panel-heading">详细信息</div>
    <div class="panel-body">
        <table class="table table-bordered">
            <tr>
                <td class="left-heard">门店地址</td>
                <td>{$info.amap_province.name}{$info.amap_city.name}{$info.amap_districts.name}{$info.address}</td>
                <td class="left-heard">法人</td>
                <td>{$info.legal_person}</td>
            </tr>
            <tr>
                <td class="left-heard">联系人</td>
                <td>{$info.contacts}</td>
                <td class="left-heard">联系电话</td>
                <td>{$info.phone}</td>
            </tr>
            <tr>
                <td class="left-heard">营业执照</td>
                <td >
                    <div style="text-align:left;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">
                        <a href="{$info.business_license}" target="_blank">
                            <img src="{$info.business_license}" alt="" style="max-height:60px;max-width:120px">
                        </a>
                    </div>
                </td>
                <td class="left-heard">门店实景图片</td>
                <td style="text-align: center; vertical-align: middle; ">
                    <div style="text-align:left;overflow:hidden;white-space: nowrap;text-overflow: ellipsis;">
                        <a href="{$info.business_license}" target="_blank">
                            <img src="{$info.business_license}" alt="" style="max-height:60px;max-width:120px">
                        </a>
                    </div>
                </td>
            </tr>
            <tr>
                <td class="left-heard">商家来源</td>
                <td>row 2, cell 1</td>
                <td class="left-heard">固定充值金额</td>
                <td>row 2, cell 2</td>
            </tr>
        </table>
    </div>
</div>

<div class="panel panel-default">
    <div class="panel-heading">产品信息</div>
    <div class="panel-body">
        <table class="table table-bordered">
            <tr>
                <td style="background: #c9d4dc;">产品名称</td>
                <td style="background: #c9d4dc;">产品价格（元）</td>
                <td style="background: #c9d4dc;">产品成本（元）</td>
            </tr>
            {foreach name="goods_list" item="vo"}
            <tr>
                <td>{$vo.goods.goods_name}</td>
                <td>{$vo.price}</td>
                <td>{$vo.cost}</td>
            </tr>
            {/foreach}

        </table>
    </div>
</div>

<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
